package com.ssyc.gsk_parents.bean;

import java.util.List;

/**
 * 在线请假
 * Created by Administrator on 2018/6/20 0020.
 */

public class LeaveInfo {

    /**
     * data : [{"begindate":"2018-06-22","content":"测试十号","createtime":"2018-06-22 13:00:58","enddate":"2018-06-25","status":"0"},{"begindate":"2018-06-15","content":"测试四号","createtime":"2018-06-11 11:04:14","enddate":"2018-06-18","status":"1"},{"begindate":"2018-06-15","content":"测试三号","createtime":"2018-06-08 17:25:01","enddate":"2018-06-15","status":"0"},{"begindate":"2018-06-10","content":"测试三号","createtime":"2018-06-08 17:19:06","enddate":"2018-07-10","status":"0"},{"begindate":"2018-06-10","content":"测试三号","createtime":"2018-06-08 17:18:20","enddate":"2018-06-15","status":"1"},{"begindate":"2018-09-10","content":"测试三号","createtime":"2018-06-08 16:15:05","enddate":"2018-09-13","status":"1"},{"begindate":"2018-05-06","content":"回家探亲测试2号","createtime":"2018-06-07 09:41:03","enddate":"2018-05-07","status":"0"},{"begindate":"2018-05-06","content":"回家探亲测试2号","createtime":"2018-06-07 09:39:56","enddate":"2018-05-07","status":"0"},{"begindate":"2018-05-06","content":"回家探亲","createtime":"2018-06-07 09:34:41","enddate":"2018-05-07","status":"1"},{"begindate":"2018-05-06","content":"","createtime":"2018-06-07 09:23:14","enddate":"2018-05-07","status":"0"},{"begindate":"2018-05-06","content":"心情不好","createtime":"2018-06-07 09:20:23","enddate":"2018-05-07","status":"1"},{"begindate":"2018-05-06","content":"无","createtime":"2018-06-06 17:12:32","enddate":"2018-05-07","status":"0"}]
     * approval : 5
     * approvalPending : 7
     * state : 200
     */

    private String approval;
    private String approvalPending;
    private String state;
    private List<DataBean> data;

    public String getApproval() {
        return approval;
    }

    public void setApproval(String approval) {
        this.approval = approval;
    }

    public String getApprovalPending() {
        return approvalPending;
    }

    public void setApprovalPending(String approvalPending) {
        this.approvalPending = approvalPending;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * begindate : 2018-06-22
         * content : 测试十号
         * createtime : 2018-06-22 13:00:58
         * enddate : 2018-06-25
         * status : 0
         */

        private String begindate;
        private String content;
        private String createtime;
        private String enddate;
        private String status;

        public String getBegindate() {
            return begindate;
        }

        public void setBegindate(String begindate) {
            this.begindate = begindate;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getEnddate() {
            return enddate;
        }

        public void setEnddate(String enddate) {
            this.enddate = enddate;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
